import request from '@/utils/request'

// 查询土建结构经常检查列表
export function listYingjijianxiu(query) {
  return request({
    url: '/biz/yingjijianxiu/list',
    method: 'get',
    params: query
  })
}

// 查询土建结构经常检查详细
export function getYingjijianxiu(id) {
  return request({
    url: '/biz/yingjijianxiu/' + id,
    method: 'get'
  })
}

// 新增土建结构经常检查
export function addYingjijianxiu(data) {
  return request({
    url: '/biz/yingjijianxiu',
    method: 'post',
    data: data
  })
}

// 修改土建结构经常检查
export function updateYingjijianxiu(data) {
  return request({
    url: '/biz/yingjijianxiu',
    method: 'put',
    data: data
  })
}

// 删除土建结构经常检查
export function delYingjijianxiu(id) {
  return request({
    url: '/biz/yingjijianxiu/' + id,
    method: 'delete'
  })
}

// 导出土建结构经常检查
export function exportYingjijianxiu(query) {
  return request({
    url: '/biz/yingjijianxiu/export',
    method: 'get',
    params: query
  })
}